package com.zhuss.product.db.dao.ext;

import com.zhuss.product.db.entity.HotLineSite;
import com.zhuss.bean.bo.product.hotLineSite.SearchHotLineSiteBo;
import com.zhuss.bean.vo.product.hotLineSite.ListHotLineSiteVo;
import com.zhuss.bean.vo.product.hotLineSite.DetailHotLineSiteVo;
import java.util.List;
import org.apache.ibatis.annotations.*;
import com.zhuss.product.db.dao.gen.*;

/**
 * @description: 热门线路站点数据库Dao
 * @author: zhushanshuo
 * @create: Mon Jan 11 09:22:02 CST 2021
 **/

@Mapper
public interface HotLineSiteDao extends HotLineSiteMapper {
	
	void create(HotLineSite record);
	
	void delete(HotLineSite record);

	List<HotLineSite> listAll();

	List<HotLineSite> listById(@Param("hotLineSiteIdList") List<Long> hotLineSiteIdList);
	
	List<HotLineSite> listByName(@Param("name") String name);
	
	List<ListHotLineSiteVo> list(SearchHotLineSiteBo bo);
	
	Integer countList(SearchHotLineSiteBo bo);

	DetailHotLineSiteVo detail(@Param("hotLineSiteId") Long hotLineSiteId);

    List<ListHotLineSiteVo> listbyHotLineId(Long hotLineId);

    void deleteByHotLineId(HotLineSite hotLineSite);
}
